package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.util.StringUtils;

import java.util.Date;

@Setter
@Getter
public class ClientQueryObject extends QueryObject{
    //模糊查询
    private String keyword;

    //根据意向学科查询
    private String subjectName;

    public String getKeyword() {
        return StringUtils.hasLength(keyword) ? keyword : null;
    }

    public String getSubjectName() {
        return StringUtils.hasLength(subjectName) ? subjectName : null;
    }
}
